
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     C o m m a n d s   t o   T h e r e m i n o _ C O B O T 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '   E x i t F r o m E d i t                 ( e x i t   f r o m   e d i t i n g   s t a t e ) 
 
 '   S t a r t E x e c u t i o n             ( a u t o - e x i t   f r o m   e d i t i n g ) 
 
 '   S t o p E x e c u t i o n               ( a u t o - e x i t   f r o m   e d i t i n g ) 
 
 '   G o t o H o m e                         ( a u t o - e x i t   f r o m   e d i t i n g ) 
 
 '   G o t o C e n t e r                     ( a u t o - e x i t   f r o m   e d i t i n g ) 
 
 '   E n a b l e R e p e a t 
 
 '   D i s a b l e R e p e a t 
 
 '   S e l e c t L i n e   n n n 
 
 '   E x e c u t e S e l e c t e d L i n e 
 
 '   A r r o w U P                           ( a u t o - e x i t   f r o m   r u n   m o d e ) 
 
 '   A r r o w D O W N                       ( a u t o - e x i t   f r o m   r u n   m o d e ) 
 
 '   E n a b l e C o l l a b o r a t i v e 
 
 '   D i s a b l e C o l l a b o r a t i v e 
 
 '   A d d N e w P o s i t i o n 
 
 '   C o r r e c t S e l e c t e d P o s i t i o n 
 
 '   D e l e t e S e l e c t e d L i n e 
 
 '   S e t H o m e P o s i t i o n 
 
 '   S e t C e n t e r P o s i t i o n 
 
 '   S e t S p e e d T o T o r q u e   n . n n         ( 0 . 0 0   t o   1 . 0 0 ) 
 
 '   S e t H o l d i n g T o r q u e   n n n 
 
 '   S e t T o r q u e M i n   n n n 
 
 '   S e t T o r q u e M a x   n n n 
 
 '   S e t A c c e l e r a t i o n   n n n 
 
 '   S e t S p e e d   n n n 
 
 '   L o a d S e q u e n c e   S e q N a m e . s e q   ( w i t h o u t   s p a c e s ) 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     R E S P O N S E S 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '   " E d i t i n g " 
 
 '   " R e a d y " 
 
 '   " E x e c u t i o n   r u n n i n g   a t   l i n e   n n n " 
 
 '   " M o t o r s   d i s c o n n e c t e d " 
 
 '   " H u m a n   d e t e c t e d   -   S p e e d   r e d u c e d " 
 
 '   " H u m a n   t o o   n e a r   -   E x e c u t i o n   s t o p p e d " 
 
 '   " T o o   m u c h   t o r q u e   -   E x e c u t i o n   s t o p p e d " 
 
 '   " M o t o r s   d i s c o n n e c t e d   -   E x e c u t i o n   s t o p p e d " 
 
 '   " E x e c u t i o n   p a u s e d " 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     S L O T   T E X T   f o r   C O M M A N D S   a n d   R E S P O N S E S 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 V a r i a b l e   N u m e r i c   S l o t _ C o m m a n d s   =   5 1 
 
 V a r i a b l e   N u m e r i c   S l o t _ R e s p o n s e s   =   5 2 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     B U T T O N S 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 B u t t o n   1   L a b e l   E x i t F r o m E d i t 
 
 
 
 B u t t o n   3   L a b e l   S t a r t E x e c u t i o n 
 
 B u t t o n   4   L a b e l   S t o p E x e c u t i o n 
 
 
 
 B u t t o n   6   L a b e l   G o t o H o m e 
 
 B u t t o n   7   L a b e l   G o t o C e n t e r 
 
 
 
 B u t t o n   9   L a b e l   E n a b l e R e p e a t 
 
 B u t t o n   1 0   L a b e l   D i s a b l e R e p e a t 
 
 
 
 B u t t o n   1 2   L a b e l   E n a b l e C o l l a b o r a t i v e 
 
 B u t t o n   1 3   L a b e l   D i s a b l e C o l l a b o r a t i v e 
 
 
 
 B u t t o n   1 7   L a b e l   A d d N e w P o s i t i o n 
 
 B u t t o n   1 8   L a b e l   C o r r e c t S e l e c t e d P o s i t i o n 
 
 B u t t o n   1 9   L a b e l   D e l e t e S e l e c t e d L i n e 
 
 
 
 B u t t o n   2 1   L a b e l   S e t H o m e P o s i t i o n 
 
 B u t t o n   2 2   L a b e l   S e t C e n t e r P o s i t i o n 
 
 
 
 B u t t o n   2 4   L a b e l   S e t H o l d i n g T o r q u e 9 
 
 B u t t o n   2 5   L a b e l   S e t S a f e T o r q u e L i m i t 9 
 
 B u t t o n   2 6   L a b e l   S e t T o r q u e 9 
 
 B u t t o n   2 7   L a b e l   S e t A c c e l e r a t i o n 9 
 
 B u t t o n   2 8   L a b e l   S e t S p e e d 9 
 
 
 
 B u t t o n   3 3   L a b e l   S e t A l l p a r a m s T o M i n 
 
 B u t t o n   3 4   L a b e l   S e t A l l p a r a m s T o M a x 
 
 
 
 B u t t o n   3 6   L a b e l   S e l e c t L i n e 3 
 
 B u t t o n   3 7   L a b e l   S e l e c t L i n e 6 
 
 B u t t o n   3 8   L a b e l   E x e c u t e S e l e c t e d L i n e 
 
 
 
 B u t t o n   4 0   L a b e l   A r r o w U p 
 
 B u t t o n   4 1   L a b e l   A r r o w D o w n 
 
 
 
 G o s u b   L o o p 
 
 S t o p 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     L O O P 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 L a b e l   L o o p 
 
 	 V a r i a b l e   S t r i n g   R e s p o n s e 
 
 	 R e s p o n s e   =   S l o t T e x t ( S l o t _ R e s p o n s e s ) 
 
 	 P r i n t   R e s p o n s e 
 
 	 W a i t   S e c o n d s   0 . 1 
 
 	 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -   h o w   t o   t e s t   p a r t i a l   s t r i n g s 
 
 	 I f   S t r i n g C o n t a i n s ( R e s p o n s e ,   " s t o p p e d " ) 
 
 	 	 B e e p 
 
 	 E n d I f 
 
 G o t o   L o o p 
 
 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     S E N D   C O M M A N D   ( d e f a u l t   t i m e o u t   =   0 . 5   S e c ) 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   S e n d C o m m a n d 
 
 	 V a r i a b l e   N u m e r i c   S C 1               ' < - -   P a r a m e t e r   D e s t i n a t . - S l o t 
 
 	 V a r i a b l e   S t r i n g     S C 2               ' < - -   P a r a m e t e r   C o m m a n d - S t r i n g 
 
 	 V a r i a b l e   N u m e r i c   S C 3   =   0 . 5   ' < - -   T h e   t i m e o u t   i n   s e c o n d s 
 
 	 V a r i a b l e   N u m e r i c   S C 4 
 
 	 S l o t T e x t   S C 1   =   S C 2 
 
 	 F o r   S C 4   =   0 . 1   T o   S C 3   S t e p   0 . 1 
 
 	 	 I f   S l o t T e x t ( S C 1 )   =   " " 
 
 	 	 	 E x i t 
 
 	 	 E n d I f 
 
 	 	 W a i t   S e c o n d s   0 . 1 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     C O M M A N D S 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 L a b e l   E x i t F r o m E d i t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " E x i t F r o m E d i t " ) 
 
 R e t u r n 
 
 
 
 L a b e l   S t a r t E x e c u t i o n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S t a r t E x e c u t i o n " ) 
 
 R e t u r n 
 
 L a b e l   S t o p E x e c u t i o n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S t o p E x e c u t i o n " ) 
 
 R e t u r n 
 
 L a b e l   E n a b l e R e p e a t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " E n a b l e R e p e a t " ) 
 
 R e t u r n 
 
 L a b e l   D i s a b l e R e p e a t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " D i s a b l e R e p e a t " ) 
 
 R e t u r n 
 
 L a b e l   G o t o H o m e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " G o t o H o m e " ) 
 
 R e t u r n 
 
 L a b e l   G o t o C e n t e r 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " G o t o C e n t e r " ) 
 
 R e t u r n 
 
 
 
 
 
 L a b e l   E n a b l e C o l l a b o r a t i v e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " E n a b l e C o l l a b o r a t i v e " ) 
 
 R e t u r n 
 
 L a b e l   D i s a b l e C o l l a b o r a t i v e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " D i s a b l e C o l l a b o r a t i v e " ) 
 
 R e t u r n 
 
 L a b e l   A d d N e w P o s i t i o n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " A d d N e w P o s i t i o n " ) 
 
 R e t u r n 
 
 L a b e l   C o r r e c t S e l e c t e d P o s i t i o n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " C o r r e c t S e l e c t e d P o s i t i o n " ) 
 
 R e t u r n 
 
 L a b e l   D e l e t e S e l e c t e d L i n e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " D e l e t e S e l e c t e d L i n e " ) 
 
 R e t u r n 
 
 
 
 L a b e l   S e t H o m e P o s i t i o n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t H o m e P o s i t i o n " ) 
 
 R e t u r n 
 
 L a b e l   S e t C e n t e r P o s i t i o n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t C e n t e r P o s i t i o n " ) 
 
 R e t u r n 
 
 
 
 L a b e l   S e t H o l d i n g T o r q u e 9 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t H o l d i n g T o r q u e   9 " ) 
 
 R e t u r n 
 
 L a b e l   S e t S a f e T o r q u e L i m i t 9 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t S a f e T o r q u e L i m i t   9 " ) 
 
 R e t u r n 
 
 L a b e l   S e t T o r q u e 9 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t T o r q u e   9 " ) 
 
 R e t u r n 
 
 L a b e l   S e t A c c e l e r a t i o n 9 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t A c c e l e r a t i o n   9 " ) 
 
 R e t u r n 
 
 L a b e l   S e t S p e e d 9 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t S p e e d   9 " ) 
 
 R e t u r n 
 
 
 
 L a b e l   S e t A l l p a r a m s T o M i n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t H o l d i n g T o r q u e   0 " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t S a f e T o r q u e L i m i t   0 " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t T o r q u e   0 " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t A c c e l e r a t i o n   0 " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t S p e e d   0 " ) 
 
 R e t u r n 
 
 L a b e l   S e t A l l p a r a m s T o M a x 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t H o l d i n g T o r q u e   9 9 9 " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t S a f e T o r q u e L i m i t   9 9 9 " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t T o r q u e   9 9 9 " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t A c c e l e r a t i o n   9 9 9 " ) 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e t S p e e d   9 9 9 9 9 " ) 
 
 R e t u r n 
 
 
 
 L a b e l   S e l e c t L i n e 3 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e l e c t L i n e   3 " ) 
 
 R e t u r n 
 
 L a b e l   S e l e c t L i n e 6 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " S e l e c t L i n e   6 " ) 
 
 R e t u r n 
 
 L a b e l   E x e c u t e S e l e c t e d L i n e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " E x e c u t e S e l e c t e d L i n e " ) 
 
 R e t u r n 
 
 
 
 L a b e l   A r r o w U p 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " A r r o w U p " ) 
 
 R e t u r n 
 
 L a b e l   A r r o w D o w n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s ) ( " A r r o w D o w n " ) 
 
 R e t u r n 
 
 
 
 
 
 ' W A T C H   v 1 
 
 ' E X E C   D e s t X   =   1 2 
 
 